<template>
  <el-scrollbar height="100%">
    <HeaderView />
    <el-card style="width: 100%; height: 500px" shadow="hover">
      <D_R_Charts />
    </el-card>
    <div
      style="
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 1em 0;
      "
    >
      <el-card class="card" shadow="hover">
        <TypeCharts />
      </el-card>
      <el-card class="card" shadow="hover">
        <!-- <el-row>
          <el-col :span="6">
            <el-statistic title="总用户数" :value="outputValue" />
          </el-col>
          <el-col :span="6">
            <el-statistic title="活跃用户数" :value="outputValue" />
          </el-col>
        </el-row> -->
      </el-card>
    </div>
    <!-- <div id="aaaaaa" style="width: 49%; height: 49%">
      <el-card class="card" shadow="hover"></el-card>
    </div> -->
  </el-scrollbar>
</template>

<script lang="ts" setup>
// import { useTransition } from "@vueuse/core";
import D_R_Charts from "./D_R_Charts.vue";
import TypeCharts from "./typeCharts.vue";
import HeaderView from "./headerView.vue";

// const source = ref(0);
// const outputValue = useTransition(source, {
//   duration: 1500,
// });

onMounted(() => {
  // source.value = 172000;
});
</script>

<style scoped>
.card {
  width: 49%;
  /* justify-content: center; */
  /* align-items: center; */
}
</style>
